using System;
using System.Reflection;
using System.Drawing;
using System.Drawing.Imaging;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Windows.Forms;
using stsdev.Builders.SolutionFiles;


namespace stsdev
{
    class ImageOnlySolutionProvider : ISolutionProvider
    {
        private ProjectFileBuilder _projectFileBuilder;
        public ImageOnlySolutionProvider()
        {
            _projectFileBuilder = new ProjectFileBuilder();
        }

        public string Title
        {
            get { return "Image-Only Solution (no assembly)"; }
        }

        public void InitializeSolution()
        {
            SolutionBuilder.AssemblyDeployment = false;
        }

        public void AddSolutionItems()
        {
            ImageFileBuilder.Create(Properties.Resources.Binoculars32, "Binoculars32.gif");
            ImageFileBuilder.Create(Properties.Resources.Cantine32, "Cantine32.gif");
        }

        #region ISolutionProvider Members


        public IProjectFileBuilder ProjectProvider
        {
            get { return _projectFileBuilder; }
        }

        #endregion
    }
}
